<div class="divupdate">
    <div class="notice" style="display: none"></div>
    <form id="user_cp_form">
    <table class="form-general">
        <thead><th colspan="6"><h4>Change Password</h4></th></thead>
        <tbody>
            <tr>
                <td><label for="name">Name</label></td>
                <td>
                    <input id="id" name="id" type="hidden" value="<?php echo (isset($this->data) ? $this->data['userID'] : '');?>"/>
                    <?php echo (isset($this->data) ? $this->data['name'] : '');?>
                </td>
                    </tr>
                    <tr>
                        <td><label for="oldpassword">Old Password</label></td>
                        <td><input id="oldpassword" name="oldpassword" type="password" placeholder="oldpassword"/></td>
                    </tr>   
                    <tr>
                        <td><label for="newpassword">New Password</label></td>
                        <td><input id="newpassword" name="newpassword" type="password" placeholder="new password"/></td>
                    </tr>   
                    <tr>
                        <td><label for="confirmnewpassword">Confirm Password</label></td>
                        <td><input id="confirmnewpassword" name="confirmnewpassword" type="password" placeholder="confirm password"/></td>
                    </tr>   
                <tr>
                    <td colspan="2">
                    <button id="save-btn" class="green" 
                            onclick="Web.submitForm({formid: '#user_cp_form', param: {type: 'save', url: 'admin/user/process-ch-password'}});"> Save </button> &nbsp; 
                    <button id="cancel-btn" class="" 
                            onclick="Web.Do({formid: '#user_cp_form', param: {type: 'cancel'}});"> Cancel </button>
                </td>
            </tr>
        </tbody>
        <tfoot></tfoot>
    </table> 
    </form>
</div>